package com.stottlerhenke.simbionic.editor;


public interface SB_TypeChangeListener {

	/**
	 * This method gets called when a new type is added into
	 * the SB_TypeManager.
	 */
	public void typeAdded(SB_TypeManager source, 
			SB_TypeManager.TypeInfo typeInfo);
	
	/**
	 * This method gets called when a type is removed from
	 * the SB_TypeManager.
	 */
	public void typeRemoved(SB_TypeManager source, 
			SB_TypeManager.TypeInfo typeInfo);
	
	/**
	 * This method gets called when a type is changed.
	 */
	public void typeChanged(SB_TypeManager source, 
			SB_TypeManager.TypeInfo oldTypeInfo,
			SB_TypeManager.TypeInfo newTypeInfo);
	
}
